R2#show run
Building configuration...

Current configuration : 1888 bytes
!
! Last configuration change at 11:05:18 UTC Mon May 12 2025
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
ip cef
!
!
!
!

R2#show run
Building configuration...

Current configuration : 1888 bytes
!
! Last configuration change at 11:05:18 UTC Mon May 12 2025
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
ip cef
!
!
!
!
!
!
no ip domain lookup
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
license udi pid CISCO2901/K9 sn FCZ182291MB
!
!
!
!
lldp run
!
!
!
!
interface Loopback4
 ip address 200.10.10.1 255.255.255.0
 ip ospf hello-interval 30
!
interface Loopback5
 no ip address
!
interface Embedded-Service-Engine0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/0
 ip address 192.168.2.10 255.255.255.0
 ip ospf hello-interval 30
 duplex auto
 speed auto
 no lldp transmit
!
interface GigabitEthernet0/1
 ip address 192.168.1.6 255.255.255.252
 ip ospf hello-interval 30
 duplex auto
 speed auto
!
interface Serial0/0/0
 ip address 1.1.1.4 255.255.255.248
 ip ospf hello-interval 30
!
interface Serial0/0/1
 ip address 200.100.100.1 255.255.255.248
 ip ospf hello-interval 30
!
router ospf 1
 router-id 2.2.2.2
 passive-interface GigabitEthernet0/0
 passive-interface Loopback4
 network 192.168.1.0 0.0.0.7 area 0
 network 192.168.2.0 0.0.0.255 area 1
!
router bgp 500
 bgp log-neighbor-changes
 network 200.10.10.0
 neighbor 200.100.100.0 remote-as 600
!
ip default-gateway 200.100.100.1
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat pool PUBLIC_POOL 192.168.2.0 209.165.201.0 netmask 0.0.0.255
ip nat inside source list 1 pool PUBLIC_POOL
ip nat outside source list 1 pool PUBLIC_POOL
!
no cdp run
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line 2
 no activation-character
 no exec
 transport preferred none
 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
 stopbits 1
line vty 0 4
 login
 transport input all
!
scheduler allocate 20000 1000
ntp master 1
!
end



R2#show ip int bri
Interface                  IP-Address      OK? Method Status                Protocol
Embedded-Service-Engine0/0 unassigned      YES unset  administratively down down
GigabitEthernet0/0         192.168.2.10    YES manual up                    up
GigabitEthernet0/1         192.168.1.6     YES manual up                    up
Serial0/0/0                1.1.1.4         YES manual up                    up
Serial0/0/1                200.100.100.1   YES manual up                    up
Loopback4                  200.10.10.1     YES manual up                    up
Loopback5                  unassigned      YES unset  up                    up
NVI0                       192.168.2.10    YES unset  up                    up



R2#show ip protocols
*** IP Routing is NSF aware ***

Routing Protocol is "ospf 1"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Router ID 2.2.2.2
  It is an area border router
  Number of areas in this router is 2. 2 normal 0 stub 0 nssa
  Maximum path: 4
  Routing for Networks:
    192.168.1.0 0.0.0.7 area 0
    192.168.2.0 0.0.0.255 area 1
  Passive Interface(s):
    GigabitEthernet0/0
    Loopback4
  Routing Information Sources:
    Gateway         Distance      Last Update
    1.1.1.1              110      01:13:29
  Distance: (default is 110)

Routing Protocol is "bgp 500"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  IGP synchronization is disabled
  Automatic route summarization is disabled
  Neighbor(s):
    Address          FiltIn FiltOut DistIn DistOut Weight RouteMap
    200.100.100.0
  Maximum path: 1
  Routing Information Sources:
    Gateway         Distance      Last Update
  Distance: external 20 internal 200 local 200


R2#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        1.1.1.0/29 is directly connected, Serial0/0/0
L        1.1.1.4/32 is directly connected, Serial0/0/0
      192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.1.4/30 is directly connected, GigabitEthernet0/1
L        192.168.1.6/32 is directly connected, GigabitEthernet0/1
      192.168.2.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.2.0/24 is directly connected, GigabitEthernet0/0
L        192.168.2.10/32 is directly connected, GigabitEthernet0/0
      200.10.10.0/24 is variably subnetted, 2 subnets, 2 masks
C        200.10.10.0/24 is directly connected, Loopback4
L        200.10.10.1/32 is directly connected, Loopback4
      200.100.100.0/24 is variably subnetted, 2 subnets, 2 masks
C        200.100.100.0/29 is directly connected, Serial0/0/1
L        200.100.100.1/32 is directly connected, Serial0/0/1


R2#show ip nat translations

R2#show ip bgp summary
BGP router identifier 200.10.10.1, local AS number 500
BGP table version is 2, main routing table version 2
1 network entries using 148 bytes of memory
1 path entries using 64 bytes of memory
1/1 BGP path/bestpath attribute entries using 136 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 348 total bytes of memory
BGP activity 1/0 prefixes, 1/0 paths, scan interval 60 secs

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
200.100.100.0   4          600       0       0        1    0    0 never    Active

R2#show ip bgp
BGP table version is 2, local router ID is 200.10.10.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
              x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

     Network          Next Hop            Metric LocPrf Weight Path
 *>  200.10.10.0      0.0.0.0                  0         32768 i
R2#


R2#show ntp status
Clock is synchronized, stratum 1, reference is .LOCL.
nominal freq is 250.0000 Hz, actual freq is 250.0000 Hz, precision is 2**21
ntp uptime is 160600 (1/100 of seconds), resolution is 4000
reference time is EBCC597E.77AF6B95 (11:26:54.467 UTC Mon May 12 2025)
clock offset is 0.0000 msec, root delay is 0.00 msec
root dispersion is 0.30 msec, peer dispersion is 0.23 msec
loopfilter state is 'CTRL' (Normal Controlled Loop), drift is 0.000000000 s/s
system poll interval is 16, last update was 6 sec ago.



